package com.woniuxy.entity;

import java.io.Serializable;

/**
 * (ProductSpecRelations)实体类
 *
 * @author makejava
 * @since 2025-07-15 11:44:06
 */
public class ProductSpecRelations implements Serializable {
    private static final long serialVersionUID = -76543882082783118L;
    
    private Integer relId;
    /**
     * 商品ID，关联商品表
     */
    private Integer productId;
    /**
     * 规格选项ID，关联规格选项表
     */
    private Integer optionId;
    /**
     * 默认0， 对商品基础价格的加价
     */
    private Integer priceAdd;
    /**
     * 该规格选项的库存数量
     */
    private Integer stock;


    public Integer getRelId() {
        return relId;
    }

    public void setRelId(Integer relId) {
        this.relId = relId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getOptionId() {
        return optionId;
    }

    public void setOptionId(Integer optionId) {
        this.optionId = optionId;
    }

    public Integer getPriceAdd() {
        return priceAdd;
    }

    public void setPriceAdd(Integer priceAdd) {
        this.priceAdd = priceAdd;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

}

